Skip to content

perlfunc: document return behavior of require#23998

Merged
leonerd merged 1 commit intoPerl:bleadfrom
Grinnz:patch-10
Dec 16, 2025
Merged

perlfunc: document return behavior of require#23998
leonerd merged 1 commit intoPerl:bleadfrom
Grinnz:patch-10

Conversation

@Grinnz
Copy link
Copy Markdown
Contributor

@Grinnz Grinnz commented Dec 10, 2025

Resolves #23996


  • This set of changes does not require a perldelta entry.

@Grinnz
Copy link
Copy Markdown
Contributor Author

Grinnz commented Dec 11, 2025

I added the line return 1 if $feature_module_true_enabled_in_file; in the "equivalent pseudocode" which hopefully conveys the intent of how the module_true feature affects the return value, but I'm not sure whether we want to indicate that as the behavior or whether it's accurate.

@Grinnz Grinnz requested a review from tonycoz December 11, 2025 22:30
@leonerd leonerd merged commit 966e97b into Perl:blead Dec 16, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation needed? - module_true interferes with require return value

3 participants